home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10983 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: access4.digex.net!not-for-mail
  2. From: ell@access4.digex.net (Ell)
  3. Newsgroups: comp.object,comp.lang.c++
  4. Subject: Re: how many classes are too much? trying to follow Robert Martin's advice
  5. Date: 12 Mar 1996 05:14:49 GMT
  6. Organization: The Universe
  7. Message-ID: <4i3189$gr6@news4.digex.net>
  8. References: <4hn86s$im4@netlab.cs.rpi.edu> <4i1fim$bm5@netlab.cs.rpi.edu>
  9. NNTP-Posting-Host: access4.digex.net
  10. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  11.  
  12. Robert C. Martin (rmartin@oma.com) wrote:
  13. :...
  14. : Certainly there are costs.  You have named them.  Your design is
  15. : getting more complicated.  (Interesting isn't it.  When the design
  16. : becomes more complex, the code gets simpler.  Complex problems require
  17. : complex expressions.)  Your makefiles are more complex.  You need some
  18. : way to manage all the source files.
  19. : Now ask yourself if there is a net gain.  Is the system overall easier
  20. : to deal with?  
  21.  
  22. In most cases where the complexity of a C++, or other oopl, project has
  23. been previously addressed, the solution can be made into a library -
  24. static or dynamic - which subsequent programmers can use with less
  25. complexity.  This is a major part of the component and object reuse
  26. motivation.  So that the design of similar future projects in the domain
  27. are not generally as visibly (code weight wise) complex.
  28.  
  29. Elliott
  30.  
  31.